package com.ynet.middleground.riskmanage.bean;

import javax.validation.constraints.NotEmpty;

import com.ynet.core.common.BaseReqObjPager;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 分页查询公司信息基础请求信息
 * @date 2020-08-05 00:35
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "企查查分页查询基础请求信息", description = "企查查分页查询基础请求信息")
public class CompanyBaseQueryReqPager extends BaseReqObjPager {

    private static final long serialVersionUID = -3596765359154623722L;

    @ApiModelProperty(value = "公司名、注册号、社会统一信用代码、KeyNo", notes = "公司名、注册号、社会统一信用代码、KeyNo", required = true)
    @NotEmpty(message = "搜索关键字不能为空")
    private String searchKey;

}
